from common.locate_by import By

class LocPlanTextAdd:

    loc_sure = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "保存",
    }

    loc_cancel = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "取消",
    }

    loc_close = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.textbox,
        "loc_name": "* 预案名称:",
    }
    loc_publish_number = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.textbox,
        "loc_name": "* 预案发布文号:",
    }
    loc_org_dept_id = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 编制单位:",
    }
    loc_unit_code = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.textbox,
        "loc_name": "* 单位编码:",
    }
    loc_phone = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.textbox,
        "loc_name": "联系电话:",
    }
    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 行政区划:",
    }
    loc_level = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 预案级别:",
    }
    loc_type = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 预案类型:",
    }
    loc_upper_plans = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "选择:",
        "seq": 1,
    }
    loc_link_plans = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "选择:",
        "seq": 2,
    }
    loc_incident_type = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 应对事故类型:",
    }
    loc_implementation_time = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 实施日期:",
    }
    loc_publish_time = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 发布日期:",
    }
    loc_publish_org_id = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 发布单位:",
    }
    loc_evaluation_cycle = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.combobox,
        "loc_name": "* 定期评估周期:",
    }
    loc_electronic_plan = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "选择文件",
    }

    loc_preview = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "预览",
    }
    loc_download = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "下载",
    }
    loc_remove = {
        "page_role": By.dialog,
        "page_title": "新增预案",
        "loc_role": By.button,
        "loc_name": "移除",
    }

    loc_select_plans_sure = {
        "page_role": By.dialog,
        "page_title": "选择预案",
        "loc_role": By.button,
        "loc_name": "选 择",
    }
    loc_select_plans_cancel = {
        "page_role": By.dialog,
        "page_title": "选择预案",
        "loc_role": By.button,
        "loc_name": "取 消",
    }
    loc_select_plans_search = {
        "page_role": By.dialog,
        "page_title": "选择预案",
        "loc_role": By.button,
        "loc_name": "查 询",
    }
    loc_select_plans_reset = {
        "page_role": By.dialog,
        "page_title": "选择预案",
        "loc_role": By.button,
        "loc_name": "重 置",
    }
    loc_select_plans_close = {
        "page_role": By.dialog,
        "page_title": "选择预案",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }
    loc_select_plans_search_type = {
        "page_role": By.dialog,
        "page_title": "选择预案",
        "loc_role": By.combobox,
        "loc_name": "预案类型:",
    }
    loc_select_plans_search_level = {
        "page_role": By.dialog,
        "page_title": "选择预案",
        "loc_role": By.combobox,
        "loc_name": "预案级别:",
    }